package com.chanyachting.emall.service;

import java.util.List;

import com.chanyachting.emall.domain.Businesscategory;
import com.chanyachting.emall.domain.Productcategory;

public interface BusinesscategoryService {
	
	
	//添加行业次分类
	public boolean addBusinesscategory(Businesscategory bc);
	
	//删除行业次分类
	public boolean delBusinesscategory(Businesscategory bc);
	
	//修改行业次分类
	public boolean updateBusinesscategory(Businesscategory bc);
	
	//获得一个行业次分类对象
	public Businesscategory getOneBusinesscategory(Businesscategory bc);
	
	//获得所有行业次分类对象
	public List<Businesscategory> getAllBusinesscategory();
	
	//修改行业次分类优先级
	public boolean updateBusinesscategoryPri(Businesscategory bc);
	
	//通过行业次分类获得主营产品服务列表
	public List<Productcategory> getProductcategoryByBusinesscategory(Businesscategory bc);
	
	//通过行业次分类id获得行业次分类
	public Businesscategory getBusinesscategoryById(String id);
	
}
